{loop $list $item}
<div class="list img-rounded" {if $item['img']}style="height:200px;"{/if}>
    <div class="hd">
        <span class="title">{if $item['status'] == 0}<p class="text-danger">未解决</p>{/if}{if $item['status'] == 1}<p class="text-success">已解决</p>{/if}{if $item['status'] == 2}<p class="text-primary">已取消</p>{/if}</span>
        <span class="date">{php echo date('Y-m-d H:i:s', $item['createtime']);}</span>
    </div>
    <div class="content">
        <p><span class="label label-warning">{$item['category']}</span> {$item['content']}</p>
        {if $item['rank']}<p><span class="label label-warning" >满意度：{if $item['rank'] == 1}满意{elseif $item['rank'] == 2}一般{elseif $item['rank'] == 3}差劲{/if}{if $item['comment']}&nbsp;&nbsp;评价内容：{$item['comment']}{/if}</span></p>{/if}
        {if $item['img']}
        <p style='margin-top:5px;'>
            {loop $item['img'] $value}
                <img src="{$value['src']}" style="width: 60px; height: 60px;border:1px solid white;float:left;" />
            {/loop}
        </p>
        {/if}
    </div>
</div>

<div style='clear: both;'></div>
{/loop}